package person.zjh.kaoyansharehub.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user")
public class User {

  @TableId
  private Long userId;

  private String userAccount;

  private String userName;

  private String password;

  private String email;

  private String role;

  private Integer points;

  private String avatar;

  private LocalDateTime createdAt;

  private LocalDateTime lastLogin;

  private Short status;


}
